<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>windows</title>
<script type="text/javascript">
//![CDATA[
          window.onload=function(){
              var nmStr=opener.document.forms[0].elements[0].value;
              document.writeln("<p>Hello " + nmStr + "!</p>");
              document.writeln("<p><a href='' onclick='self.close();return false'>Close</a></p>");
              }
//]]>
</script>
</head>
<body>
<p>some content</p>
</body>
</html>